<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>八卦</title>
    <style>
        body{
            overflow:hidden;
        }
        @keyframes r1{
            100%{
                transform:rotate(1turn);
            }
        }
        @keyframes blink{
            100%{
                box-shadow:0 0 20px rgba(247, 32, 11,0.8);
            }
        }
        #wrapper{
            width:0;
            height:400px;
            border-left:solid 200px #000;
            border-right:solid 200px #fff;
            border-radius:100%;
            box-shadow:0 0 20px rgba(0,0,0,0.8);
            margin:auto;
            position:absolute;
            left:0;
            top:0;
            bottom:0;
            right:0;
            animation:r1 2s linear infinite,blink 1s ease-in-out infinite alternate;
            animation-play-state:paused;
        }
        #wrapper:hover{
            animation-play-state:running;
        }
        #wrapper::before,#wrapper::after{
            content:'';
            display:block;
        }
        #wrapper::before{
            width:200px;
            height:200px;
            border-radius:50%;
            background:#fff;
            box-shadow:0 200px 0 #000;
            position:absolute;
            left:-100px;
            top:0;
        }
        #wrapper::after{
            width:100px;
            height:100px;
            border-radius:50%;
            background:#000;
            box-shadow:0 200px 0 #fff;
            position:absolute;
            left:-50px;
            top:50px;
        }
    </style>
</head>
<body>
    <div id="wrapper"></div>
</body>
</html>
